<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Media extends CI_Controller {
	
	public function __construct(){
		parent::__construct();
		
		$this->load->model("m_media");

	}

	public function index(){

		$data["title"] = "Gallery";
		$data["page"] = "media";
		
		$this->load->view("/backend/dashboard", $data);
	}

	public function upload(){
		$data["title"] = "Add Media";
		$data["page"] = "add_media";
		
		$this->load->view("/backend/dashboard", $data);
	}
}